var e = require;
var t = module;
var o = e("uikiller"),
    n = {
        name: "UIKillerBindFilter",
        onCheckNode: function (e, t) {
            if (e === t.node) return !0;
            var n = t.$options;
            return (!o.isFunction(n.filter) || !n.filter(e)) && "@" !== e.name[0] && void 0;
        }
    },
    i = {hello: "你好XXX", world: "世界", 1: "hellddo", 2: "wrold"},
    r = {
        name: "UIKillerLabelLanguage",
        onCheckNode: function (e) {
            var t = e.getComponent(cc.Label);
            if (t) {
                var o = e.$ || e.name,
                    n = i[o];
                n && (t.string = n);
            }
        }
    },
    a = {button: "button.mp3", cancel: "cancel.mp3", disable: "disable.mp3"},
    c = {
        name: "UIKillerTouchSound",
        onAfterHandleEvent: function (e, t, o, n, i) {
            void 0 === i && (i = !0);
            if (0 != window.canPlayEffects && t.type === cc.Node.EventType.TOUCH_END && !1 !== n) {
                var r = a[n] || a[e.name] || (i ? a.button : a.disable);
                r && r.length;
            }
        }
    };
o.registerPlugin(n);
o.registerPlugin(r);
o.registerPlugin(c);
